postInvalidateOnAnimation

Deprecated

Call postInvalidateOnAnimation directly.

Cause an invalidate to happen on the next animation time step, typically the next display frame.

This method can be invoked from outside of the UI thread only when this View is attached to a window.

Parameters

view

View to invalidate


open fun postInvalidateOnAnimation(@NonNull view: View, left: Int, top: Int, right: Int, bottom: Int)(source)

Deprecated

Call postInvalidateOnAnimation directly.

Cause an invalidate of the specified area to happen on the next animation time step, typically the next display frame.

This method can be invoked from outside of the UI thread only when this View is attached to a window.

Parameters

view

View to invalidate

left

The left coordinate of the rectangle to invalidate.

top

The top coordinate of the rectangle to invalidate.

right

The right coordinate of the rectangle to invalidate.

bottom

The bottom coordinate of the rectangle to invalidate.